// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import request from '@/utils/request.js'
import uView from "uview-ui";
import {
	numberToChinese
} from '@/utils/common.js';

Vue.config.productionTip = false
Vue.use(uView);

Vue.prototype.$numberToChinese = numberToChinese;

App.mpType = 'app'
//接口地址为info时关闭打印
// if (request.baseUrl.indexOf('info.alhelp.net') != -1) {
// 	console.log = () => {}
// 	console.error = () => {}
// }
const app = new Vue({
	...App
})
app.$mount()
// #endif


// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
import App from './App.vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif